/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package TestClasses;

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Scanner;
import java.util.StringTokenizer;
import java.util.Vector;

/**
 *
 * @author Laurens
 */
public class IntroduceLocalTestImports 
{
    public IntroduceLocalTestImports()
    {
        RenameMethodTestReference method = new RenameMethodTestReference();
        method.methodReferenced("");
    }
    
    public void read(String file) throws FileNotFoundException, IOException
    {
        Scanner scanner = new Scanner(file);
        String name = scanner.nextLine();
        StringTokenizer st = new StringTokenizer(name);
        Vector<String> result = new Vector<String>();
        result.add(st.nextToken());
        BufferedReader f = new BufferedReader(new FileReader(file));
        BufferedWriter w = new BufferedWriter(new FileWriter("location"));
        w.write(f.readLine());
    }
}
